<?php
if (!(defined('IN_IA'))) 
{
	exit('Access Denied');
}
class Index_Page extends WebPage
{
	public function main() 
	{
		global $_W,$_GPC;
        $uniacid=$_W['uniacid'];
        load()->func('tpl');
		$total = pdo_fetchcolumn("select count(*) from ".tablename('bd_mis_product')." where `uniacid`='$uniacid'");
		$news = pdo_fetchcolumn("select count(*) from ".tablename('bd_cms_article')." where `uniacid`='$uniacid'");
		$appoint = pdo_fetchcolumn("select count(*) from ".tablename('bd_mis_case')." where `uniacid`='$uniacid'");
		include $this->template();
	}
}
?>